import axios from '../utils/http'
//账号登录
export const  usersLogin =(data)=>{
    return axios.post('/users/login',data)
}
//账号列表
export const  usersList =(data)=>{
    return axios.get('/users/list',{params:data})
}
//账号删除
export const  usersDel =(data)=>{
    return axios.post('/users/del',data)
}
//账号编辑
export const  usersEdit =(data)=>{
    return axios.post('/users/edit',data)
}

//账号修改密码
export const  usersEditPwd =(data)=>{
    return axios.post('/users/editPassword',data)
}